package com.itcodai.course16.mapper;

import com.itcodai.course16.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;
@Mapper
public interface UserMapper {
    User getByUsername(String username);
    Set<String> getRoles(String username);
    Set<String> getPermissions(String username);
}
